package com.jt.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author xxh
 * @date 2021/5/17 20:24
 */

@Data
@Accessors(chain = true)
@TableName("tb_item_cat")
public class ItemCat {

    @TableId(type = IdType.AUTO)
    private Long id;
    private Long parentId;
    private String name;
    private Integer status;
    private Integer sortOrder;      //排序号
    private Boolean isParent;       //false 0 /true 1
}
